package protocol;

import java.net.InetAddress;

public class AckFile extends Message {
	private static final long serialVersionUID = 123L;
	private boolean ack;
	
	public AckFile(String username, InetAddress address, boolean ack) {
		super(username, address);
		this.ack = ack;
	}
	
	public boolean isAck() {
		return ack;
	}

	public String toString(){
		return (super.toString()+ " Type: AckFile");
	}
}
